package com.geekai.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.geekai.chat.dto.LoginRequest;
import com.geekai.chat.dto.LoginResponse;
import com.geekai.chat.dto.RegisterRequest;
import com.geekai.chat.entity.User;

public interface UserService extends IService<User> {

    LoginResponse login(LoginRequest loginRequest);

    void register(RegisterRequest registerRequest);

    User getUserByUsername(String username);

    User getUserByEmail(String email);
}